from selenium import webdriver
from Page import Page
import unittest, time

class TestCase(unittest.TestCase):
    # 测试固件TestFixture
    def setUp(self) -> None:
        self.driver = webdriver.Edge()
        self.driver.maximize_window()

    def tearDown(self) -> None:
        time.sleep(10)
        self.driver.quit()

    def test_A3mall_01(self):
        po = Page(self.driver)
        po.A3mall_search_01()

if __name__ == '__main__':
    unittest.main()